package com.stylefeng.guns.modular.system.warpper;

import com.stylefeng.guns.core.base.warpper.BaseControllerWarpper;
import com.stylefeng.guns.core.common.constant.factory.ConstantFactory;

import java.util.List;
import java.util.Map;

/**
 * 功能模块说明
 * Created with IntelliJ IDEA.
 * User: AnCong
 * Date: 2018/5/30
 */
public class PosWarpper extends BaseControllerWarpper{

    public PosWarpper(List<Map<String, Object>> list) {
        super(list);
    }
    @Override
    public void warpTheMap(Map<String,Object> map) {
        map.put("status", ConstantFactory.me().getStatusName((Integer) map.get("status")));
        map.put("isPullLog", ConstantFactory.me().getIsOrNot((Integer) map.get("isPullLog")));
    }
}
